package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.AccountCreditLogDao;
import io.wdb.modules.generator.generator.entity.AccountCreditLogEntity;
import io.wdb.modules.generator.generator.service.AccountCreditLogService;



@Service("accountCreditLogService")
public class AccountCreditLogServiceImpl implements AccountCreditLogService {
	@Autowired
	private AccountCreditLogDao accountCreditLogDao;
	
	@Override
	public AccountCreditLogEntity queryObject(Long id){
		return accountCreditLogDao.queryObject(id);
	}
	
	@Override
	public List<AccountCreditLogEntity> queryList(Map<String, Object> map){
		return accountCreditLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return accountCreditLogDao.queryTotal(map);
	}
	
	@Override
	public void save(AccountCreditLogEntity accountCreditLog){
		accountCreditLogDao.save(accountCreditLog);
	}
	
	@Override
	public void update(AccountCreditLogEntity accountCreditLog){
		accountCreditLogDao.update(accountCreditLog);
	}
	
	@Override
	public void delete(Long id){
		accountCreditLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		accountCreditLogDao.deleteBatch(ids);
	}
	
}
